/* 主页面背景 */
.page {
    position: fixed;
    top: var(--edger-safe-area-inset-top);
    bottom: var(--edger-safe-area-inset-bottom);
    left: 0;
    right: 0;
    transform: translateX(0);
    overflow: hidden;
    background-color:white;
  }
/* 内容 */
  .content {
    width: 100%;
    height: 100%;
    background-color: white;
  }
/* 上半部分的box */
  .mainpage{
    background-color: #efefef;
    height: 40%;
  }
/* 标题部分 */
  .title{
    height: 15%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bolder;
  }
/* 标题下面第一行温度湿度等 */
  .environment{
    height: 10%; 
    display: flex;
    text-align: center;
    font-size: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
/* 温度 */
  .environment-tem{
    width: 35%;
    /* margin-left: 8%; */
    /* margin-right: 2%; */
  }
/* 温度值 */
  .environment-tem-val{
    text-align: left;
    width: 15%;
    /* margin: 2%; */
  }
/* 湿度 */
  .environment-hum{
    width: 35%;
    /* margin: 0 2%; */
  }
/* 湿度值 */
  .environment-hum-val{
    text-align: left;
    width: 15%;
    /* margin-left: 2%; */
    /* margin-right: 8%; */
  }
/* 大写的设定温度的box */
  .tempreture-sheet{
    height: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
/* 大写温度部分 */
  .tempre{
    height: 100%;
    font-weight: bolder;
    text-align: center;
    font-size: 14vh;
  }
/* 除去温度以外的部分 */
  .temp-rest{
    height: 100%;
    display: block;
  }
/* 空行留白 */
  .temp-space{
    height: 20%;
  }
/* 摄氏度符号 */
  .sign{
    top: 100%;
    font-size: 120%;
  }
/* 模式部分box */
  .model-sheet{
    height: 20%;
    display: flex;
  }
/* 图标的box */
  .icon-sheet{
    width: 3vh;
    height: 3vh;
  }
/* 图标 */
  .icon{
    width: 100%;
    height: 100%;
    background-image: url(./img/model/auto.png);
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
    
  }
/* 图标文本内容 */
  .icon-text{
    text-align: left;
    font-size: 80%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
/* 留白空行 */
  .space{
    height: 6%;
  }
/* 温度下当前模式显示 */
  .setmodel{
    display: flex;
    height: 18%;
  }
/* 模式显示的大box */
  .setmodel-sheet{
    width: 33.3%;
    height: 100%;
  }
/* 模式显示的小box */
.setmodel_sheet{
    margin: 0 0 0 20%;
    height: 60%;
    width: 70%;
    display: flex;
}
/* 模式图标 */
.setmodel-icon{
    height: 3vh;
    width: 3vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
/* 模式文本 */
.setmodel-text{
  margin-left: 10px;
  height: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 80%;
}
/* 根据id给不同格式分配图标 */
#model-speed{
    background-image: url(./img/speed/1.png);
    background-size: contain;
    background-repeat: no-repeat;
}
#model-timeset{
    background-image: url(./img/speed/Timeset.png);
    background-size: contain;
    background-repeat: no-repeat;
}
#model-windtype{
    background-image: url(./img/speed/hand.png);
    background-size: contain;
    background-repeat: no-repeat;
}
/* 控制部分 */
.controlpage{
    height: 60%;
    width: 100%;
}
/* 长的按键的box */
.button-sheet{
    height: 25%;
    width: 100%;
    display: flex;
}
/* 开关 */
.switch{
    width: 50%;
    height: 100%;
    border-right: solid #efefef 2px ;
    display: flex;
    justify-content: center;
    align-items: center;
}
/* 模式切换的box */
.model{
    width: 50%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
/* 开关的图标box */
.switch-icon-sheet{
    height: 5vh;
    width: 5vh;
    
}
/* 开关图标 */
.switch-icon{
    height: 5vh;
    width: 5vh;
    background-image: url(./img/switch/on.png);
    background-size: contain;
    background-repeat: no-repeat;
}
/* 控制模式内容 */
.control-model{
    font-size: 100%;
}
/* 三分之一中间部分  带边框 */
.one-third-middle{
    width: 33.3%;
    height: 100%;
    border: #efefef solid 2px;
    display: flex;
    justify-content: center;
    align-items: center;
}
/* 三分之一格子的两边 带边框 */
.one-third-edge{
    width: 33.3%;
    height: 100%;
    border-top: #efefef solid 2px;
    border-bottom: #efefef solid 2px;
    display: flex;
    justify-content: center;
    align-items: center;
}
/* 三分之一格子的文本部分 */
.one-third-text{
    width: 40%;
    height: 20%;
    text-align: center;
    font-size: 100%;
}
/* 三分之一格子 不带边框 */
.one-third{
    width: 33.3%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
/* 下降温度文本 */
.decrease-text{
    text-align: center;
    font-size: 400%;
}
/* 上升温度文本 */
.increase-text{
    text-align: center;
    font-size: 300%;
}
/* 温度文本 */
.tempreture-text{
    
    text-align: center;
    font-size: 100%;
}


#Tempreture{
  border: 0;
  border-style: none;
  outline: none;
  width: 100%;
  height: 100%;
  background-color: #efefef;
  font-size: 14vh;
  font-weight: bolder;
}
#Tempreture{
  max-width: 20vh;
}

/* 按下定时按键后灰色屏幕 */
.gray{
  position: absolute;
  width: 100%;
  height: 100%;
  left:0;
  top:0;
  background: rgba(0, 0, 0, 0.5);
  filter:alpha(opacity=50);
  z-index:97;
  display: flex;
  justify-content: center;
  align-items: center;
  /* display: none; */

  transition-duration: 0.3s;
  transform: translateX(-100%);
}

/* 中间悬浮的白色部分 */
.setTimeBox{
  background-color: white;
  height: 30%;
  width: 80%;
  border-radius: 10%;
}
/* 上半部分用于显示时间的部分 */
.TimeBox{
  height: 60%;
  width: 100%;
  display: flex;
  
}
/* 用于调整单个时间间隔(左) */
.setTime-space-left{
  width: 8%;
  height: 100%;
  display: flex;
  justify-content: right;
  align-items: center;
}
/* 用于调整单个时间间隔(右) */
.setTime-space-right{
  width: 8%;
  height: 100%;
  display: flex;
  justify-content: left;
  align-items: center;
}
.setTime-sigle{
  height: 40%;
  width: 60%;
  border: solid 1px;
  border-radius: 15%;
  display: flex;
  justify-content: center;
  align-items: center;
}
/* 单个时间方框 */
.setTime{
  height: 100%;
  width: 30%;
  /* border: solid 1px; */
  display: flex;
  justify-content: center;
  align-items: center;
}
/* 冒号方框 */
.setTime_m{
  height: 100%;
  width: 8%;
  /* border: solid 1px; */
  display: flex;
  justify-content: center;
  align-items: center;
}
/* 时间占据的box */
.setTime-sheet{
  height: 40%;
  width: 100%;
  /* border: solid 1px; */
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 16vw;
  font-weight: bolder;
  border-radius: 10%;
  text-align: center;
}
/* 冒号占据的box */
.setTime_m-sheet{
  height: 100%;
  /* border: solid 1px; */
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 16vw;
  font-weight: bolder;
}

/* 确认按键的box */
.confirm-sheet{
  height: 40%;
  width: 100%;
  /* border: solid 1px; */
  display: flex;
  justify-content: center;
  /* align-items: center; */
}
/* 按键按钮的方框 */
.confirm-button{
  height: 60%;
  width: 40%;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10%;
  border: solid 1px;
  /* box-shadow: inset 0 0 25px 10px #ccc; */
}

/* 设置部分的页面 */
.setting-content{
  position: absolute;
  width: 100%;
  height: 100%;
  left:0;
  top:0;
  background: #efefef;
  z-index:97;
  transition-duration: 0.3s;
  transform: translateX(100%);
}
/* 设置页面标题 */
.setting-title-sheet{
  height: 6%;
  width: 100%;
  background-color: white;
  display: flex;
  justify-content: center;
  align-items: center;
}
/* 设置部分 */
.settings{
  height: 94%;
  width: 100%;
}
/* 设置部分的分割box */
.setting-space-sheet{
  height: 1%;
  background-color: #efefef;
  width: 100%;
}
/* 每一个设置的box */
.setting-sheet{
  height: 6%;
  width: 100%;
  background-color: white;
  display: flex;
  align-items: center;
}
/* 返回部分区域 */
.return{
  position: fixed;
  position: absolute;
  width: 100%;
  height: 6%;
  left:0;
  top:0;
  filter:alpha(opacity=50);
  z-index:97;
  display: flex;
  justify-content: left;
  align-items: center;
  transition-duration: 0.3s;
  transform: translateX(100%);
}
/* 返回的圆形box */
.return-sheet{
  width: 35px;
  height: 35px;
  max-width: 100%;
  max-height: 100%;
  border-radius: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
/* 返回图标 */
.return-icon{
  max-width: 100%;
  max-height: 100%;
  width: 25px;
  height: 25px;
  background-image: url(./img/others/return.png);
  background-size: contain;
  background-repeat: no-repeat;
}

.setting-name-space{
  width: 8%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.setting-name{
  width: 50%;
  height: 100%;
  display: flex;
  justify-content: left;
  align-items: center;
}
.input-setting-interval{
  width: 22%;
  height: 60%;
  border-radius: 10%;
  font-size: 3vh;
  text-align: center;
  /* display: none; */
}
#inputTempre{
  display: none;
}
#inputInterval{
  display: none;
}
#inputLowTempre{
  display: none;
}

.alert{
  position: fixed;
  position: absolute;
  width: 100%;
  height: 6%;
  left:0;
  top:0;
  filter:alpha(opacity=50);
  z-index:97;
  background-color: #84e1f8;
  border-radius: 5%;
  /* font-size: 4vh; */
  display: flex;
  justify-content: center;
  align-items: center;
  transition-duration: 0.3s;
  transform: translateY(-100%);
}
